unit FinAutoMultiColumns;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, BaseDescDialog, cxGraphics, cxLookAndFeels,
  cxLookAndFeelPainters, Menus, StdCtrls, ExtCtrls, cxControls,
  cxContainer, cxEdit, dxSkinsCore, dxSkinsDefaultPainters, cxTextEdit,
  cxMaskEdit, cxSpinEdit, cxRadioGroup,
  MisString, dxSkinsForm, cxButtons;

type
  TfrmFinAutoMultiColumns = class(TfrmBaseDescDialog)
    rdbAll: TcxRadioButton;
    edtLevel: TcxSpinEdit;
    rdbLevel: TcxRadioButton;
    procedure FormCreate(Sender: TObject);
    procedure rdbLevelClick(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  frmFinAutoMultiColumns: TfrmFinAutoMultiColumns;

implementation

{$R *.dfm}

procedure TfrmFinAutoMultiColumns.FormCreate(Sender: TObject);
begin
  inherited;
  edtLevel.Properties.MaxValue := StrToIntDef(GetSysParamValue('sublevel'), 6);
end;

procedure TfrmFinAutoMultiColumns.rdbLevelClick(Sender: TObject);
begin
  inherited;
  edtLevel.Enabled := rdbLevel.Checked;
end;

end.
